%option noyywrap
%{
    #include<stdio.h>
    #include<set>
    #include<string>
    #include<iostream>
    using namespace std;
    int n = 0,num = 0;
    long long number = 0;
    set<long long>table;
%}
%%
^[0-9]{9}    {	printf("201492423");	}
NAME$	    {	printf("HYC");	}
[0-9]*(\.[0-9]*)?      {
				number = atof(yytext);
				number  = number * 2 + 201492423;
				table.insert(number);
				cout<<number;
			}
.		{	ECHO;	}
%%
int main()
{
    yylex();
    num = table.size();
    printf("出现次数%d\t去重后次数%d\n",n,num);
    return 0;
}
